using System;

namespace WindowsPhone.CompactContainer.ServiceLocation.CompactContainer
{
    /// <summary>
    /// 
    /// </summary>
    public interface IHandler
    {
        /// <summary>
        /// Gets or sets the container.
        /// </summary>
        /// <value>The container.</value>
        IContainer Container { get; set; }

        /// <summary>
        /// Creates the specified class type.
        /// </summary>
        /// <param name="classType">Type of the class.</param>
        /// <returns></returns>
        object Create(Type classType);
    }
}